if floor
  each val in floor
    if val.type == 1
      section.index_item
          .i_title.clearfix
              span.t_txt.fl #{val.title}
              a.t_more.fr(href='#{val.url}', target='_blank') 更多
          ul.i_list.clearfix
              each course in val.course
                  li
                    .pic
                      a(href='/course/detail/#{course.id}', target='_blank', kk-event-id='516', kk-event-ext='pid=104&display=153&area=493')
                        img(src='#{course.img}')
                    .c_name
                      a(href='/course/detail/#{course.id}') #{course.title}
                    .c_detail.clearfix
                      span.fl.num
                        em.money ¥ #{course.price}
                      span.les_counts.mr25.floatRightS
                        i.c_1ab177 #{course.times}
                        | 课时
    else
      section.index_item1.mb20
        .i_title.clearfix
          span.t_txt.fl #{val.title}
          a.t_more.fr(href='#{val.url}', target='_blank') 更多
        .list_wrap
          ul.i_list.clearfix
              each course, index in val.course
                li(class='lst#{index + 1}')
                  .picTxt
                    .pic
                      a(href='/course/detail/#{course.id}', target='_blank')
                        img(src='#{course.img}')
                    .c_right
                      .c_name
                        a(href='/course/detail/#{course.id}', target='_blank') #{course.title}
                      .c_detail
                        span.les_counts.mr25
                          i.c_1ab177 #{course.times}
                          | 课时
                        span.stu_counts #{course.teacher}
                      span.fl.num
                        em.money ¥ #{course.price}
              